package factory.fromKanYun.StaticFactory;

import factory.fromKanYun.Sender;

public class Test {
    public static void main(String[] args) {
        //直接生产产品
        Sender sender = SendFactory.produceEmail();
        //发货
        sender.send();

        sender = SendFactory.produceSms();
        sender.send();

    }
}
